package org.springtx.service;

import org.apache.log4j.Logger;
import org.springframework.transaction.annotation.Transactional;

public class DefaultFooService implements FooService {

	  private static Logger logger = Logger.getLogger(DefaultFooService.class);
	
	  @Transactional
	  public Foo getFoo(String fooName) {
//		  throw new UnsupportedOperationException();
		  logger.debug("getfoo");
		  return null;
	  }

	  public Foo getFoo(String fooName, String barName) {
	    throw new UnsupportedOperationException();
	  }

	  public void insertFoo(Foo foo) {
	    throw new UnsupportedOperationException();
	  }

	  public void updateFoo(Foo foo) {
	    throw new UnsupportedOperationException();
	  }

}
